<form class="layui-form layui-form-pane" lay-filter="FormSysAuthAdd" action="/sys/auth/add">
    <div class="layui-row p-l-sm m-b-xl">
        <div class="layui-row">
            <div th:replace="common/plugin :: pa-form-select('AuthType','授权方式','authType','layui-col-md6','required','','请选择授权方式')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','授权ID','authId','layui-col-md6',32,'required','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','授权值','authValue','layui-col-md12',50,'required','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','授权用户','authDesc','layui-col-md12',50,'required','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','有效期(D)','authAvailable','layui-col-md6',3,'required|number','')"></div>
        </div>
        <div class="hr-line-dashed m-r m-t"></div>
        <div class="layui-row">
            <div th:replace="common/plugin :: pa-form-input('text','授权系统','authOs','layui-col-md6',128,'','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','授权软件','authSoft','layui-col-md6',128,'','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','授权版本','authVersion','layui-col-md6',128,'','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','授权IP地址','authIp','layui-col-md6',128,'','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','授权浏览器','authAgent','layui-col-md12',128,'','')"></div>
        </div>
    </div>
</form>
<script>
    layui.use('form', function () {
        let form = layui.form;
        form.render();
    });
</script>